const getters = {
    token: state => state.user.token,
    // 是否登录
    isLogin: state => state.user.isLogin,
    // 权限id集合
    roles: state => state.user.roles,
    // 已打开的路由数据
    routerArr: state => state.tagsView.routerArr,
    // 用户信息
    userData:  state => state.user.userData,
}
export default getters
